package com.haoshuang.zhouzhoubang.ui.page.settled.contactbutler

import android.content.Context
import android.os.Bundle
import com.haoshuang.zhouzhoubang.MyApp
import com.haoshuang.zhouzhoubang.databinding.ActivityContactButlerBinding
import com.mufeng.libs.base.BaseVMActivity
import com.mufeng.libs.utils.startPage
import com.mufeng.libs.utils.toast
import com.mufeng.libs.utils.view.click
import com.mufeng.libs.utils.view.load


/**
 *  联系管家页面
 */
class ContactButlerActivity :
    BaseVMActivity<ContactButlerViewModel, ActivityContactButlerBinding>() {

    companion object {
        fun launch(context: Context) {
            context.startPage<ContactButlerActivity>()
        }
    }

    override fun initView(savedInstanceState: Bundle?) {

        binding.titleBar.title = "联系管家"
        binding.titleBar.leftImageView().click { finish() }

        binding.rivCode.load(MyApp.systemConfig?.kf_code)

    }

    override fun initData() {

    }

    override fun startObserve() {

    }

}